#ifndef LIMITS_H
#define LIMITS_H

namespace System { namespace Scheduler {
	
	#define TimePrec__TimePrecisionBits 4
	#define TimePrec__TimePrecisionMask (ulong)4
	#define TimePrec__TimeScaler (ulong)4
	#define TimePrec__TimeScaleUnit (decimal)(1M / TimeScaler)
	#define TimePrec__EncodeTime(time) (ulong)0
	#define TimePrec__DecodeTime(time) (decimal)0

	//#define EngineSettings__MaxTimeslices 1000
	#define EngineSettings__MaxTimeslices 10
	#define EngineSettings__MaxHibernates 1
	#define EngineSettings__MaxWorkingFractions 10
	#define EngineSettings__MaxTimeslicesTime (ulong)(EngineSettings__MaxTimeslices << TimePrec__TimePrecisionBits)
	// fixed settings
	#define EngineSettings__HibernatesTillReShuffle 3

}}

#endif // LIMITS_H